package com.example.service;

import com.example.pojo.Coach;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface CoachService {
    Coach selectCoachById(int id);

    List<Coach> selectAllCoaches();

    int insertCoach(Coach coach);

    int deleteCoachById(int id);

    int updateCoach(Coach coach);

    List<Coach> selectCoachByName(String name);

    int updateMark(@Param("mark") float mark, @Param("id") int id);


}
